package com.rc.saas.mini.service.rc;

import com.rc.saas.mini.mapper.rc.RcEnterpriseGainGradeSettingMapper;
import com.rc.saas.mini.model.rc.RcEnterpriseGainGradeSetting;
import com.rc.saas.mini.model.rc.RcEnterpriseGainGradeSettingExample;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class RcEnterpriseGainGradeSettingServiceImpl implements RcEnterpriseGainGradeSettingService {
    @Autowired
    private RcEnterpriseGainGradeSettingMapper rcEnterpriseGainGradeSettingMapper;

    @Override
    public RcEnterpriseGainGradeSettingMapper getMapper() {
        return rcEnterpriseGainGradeSettingMapper;
    }

    @Override
    public List<RcEnterpriseGainGradeSetting> listByDefault() {
        RcEnterpriseGainGradeSettingExample example = new RcEnterpriseGainGradeSettingExample();
        return rcEnterpriseGainGradeSettingMapper.selectByExample(example);
    }
}
